TrivBzrTVReadFromFile2
Section: C Library Functions (3)
Updated: IRIT Version 6.0
Index
Return to Main Contents
NAME
TrivBzrTVReadFromFile2()
SYNOPSIS
prsr_lib/trivread.c:379
TrivTVStruct *TrivBspTVReadFromFile2(int Handler,
CagdBType NameWasRead,
char **ErrStr,
int *ErrLine)
DESCRIPTION
Reads from a file a Bezier trivariate.
If NameWasRead is TRUE, it is assumed prefix "[TRIVAR BSPLINE" has
already been read. This is useful for a global parser which invokes this
routine to read from a file several times as a parent controller.
For exactly this reason, the given file descriptor is NOT closed in the
end.
If error is found in reading the file, ErrStr is set to a string
describing it and ErrLine to line it occured in file relative to begining
of trivariate.
If no error is detected *ErrStr is set to NULL.
PARAMETERS:
Handler: A handler to the open stream.
NameWasRead: If FALSE, also reads the TRIVAR BEZIER prefix.
ErrStr: Will be initialized if an error has occured.
ErrLine: Line number in file FileName of the error, if occured.
FUNCTION RETURN VALUE
TrivTVStruct *: The read trivariate, or NULL if an error occured.
ORIGIN
(C) Copyright 1989/90-95 Gershon Elber, Technion, IIT
Index
- NAME
-
- SYNOPSIS
-
- DESCRIPTION
-
- PARAMETERS:
-
- FUNCTION RETURN VALUE
-
- ORIGIN
-
This document was created by
man2html,
using the manual pages.
Time: 07:27:15 GMT, October 17, 2022